package com.ficus.road.maintain.core.model.config;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class GlobalConfig<T> {

    @JsonProperty("id")
    private String id;

    @JsonProperty("configName")
    private String configName;

    @JsonProperty("configValue")
    private T configValue;

}